<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML>
<html>
	<head>

		<title>My JSP 'login.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
        <link href = "/ecp/resources/css/default/base.css" rel = "stylesheet" type = "text/css"/>
        <script type="text/javascript" src="/ecp/resources/js/jquery-1.8.1.js"></script>
        <script type="text/javascript" src="/ecp/resources/js/tydic.js"></script>
        <script type="text/javascript" src="/ecp/resources/js/public.js"></script>
        
        <script type="text/javascript">
         function submit12(){
            if($("#pd1").val()!=$("#pd2").val()){
              alert("新密码输入不一致");
              return false;
            }
            submitForm("form1","/ecp/backstage/sys/updatePassword.do");
         }
        
        </script>
	</head>

	<body>
       <table width = "100%" border = "0" cellspacing = "0" cellpadding = "0" class = "Treebg">
            <tr>
                <td class = "ico5"></td>
                <td>&nbsp;<a href = "#">系统管理</a> &gt; <span class = "c6">密码修改</span>
                </td>
                <td class = "ico0">&nbsp;</td>
            </tr>
        </table>
        <table border = "0" cellspacing = "0" cellpadding = "0">
            <tr>
                <td width = "40"><img src = "/ecp/resources/css/default/images/space.gif" class = "img-search"/></td>
                <td>
                 <form id="form1">
                    <table border = "0" cellpadding = "0" cellspacing = "0" class = "searchtab fl">
                        <tbody>
                        <tr>
                            <th>原始密码：</th>
                            <td>
                            <input name="account" type="hidden" value="${user.account}">
                            <input name = "password" type = "password" class = "input90"/></td>
                            <th>新密码：</th>
                            <td><input name = "newPassword" id="pd1" type = "password" class = "input90"/></td>
                            <th>重复新密码：</th>
                            <td><input id="pd2"   type = "password" class = "input90"/></td>
                            <td>
                                <input type = "button" onclick="submit12();" name = "button2"   value = "修  改" class = "btn1"/>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                 </form>
                </td>
            </tr>
        </table>
       	  
	</body>
</html>